/**
 * Copyright 2014-2016 com.lycheeframework.mapping
 * All rights reserved.
 * 
 * @project
 * @author Administrator
 * @version 1.0
 * @date 2016-10-18
 */
package com.eyaomall.wxmall.model.po;

import java.util.Date;

import com.lycheeframework.core.model.IPO;

/**
 * 
 * @author Administrator
 *
 */
public class Coupon implements IPO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键 ID
	 */
	private Integer id;

	/**
	 * 店铺ID
	 */
	private Integer shopId;

	/**
	 * 状态 '0' 发布 | '1' 未发布|'2'已结束
	 */
	private String status;

	/**
	 * 生效时间
	 */
	private Date gmtStart;

	/**
	 * 过期时间
	 */
	private Date gmtEnd;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 是否删除 'y' 是 | 'n' 否
	 */
	private String isDeleted;

	/**
	 * 发行量
	 */
	private Integer num;

	/**
	 * 单个优惠券金额
	 */
	private Double amount;

	/**
	 * 使用限制(满多少可用)
	 */
	private Double limitAmount;

	/**
	 * 创建日期
	 */
	private Date gmtCreate;

	/**
	 * 修改日期
	 */
	private Date gmtModified;

	/**
	 * 使用范围 'y' 全部商品 | 'n' 部分商品
	 */
	private String employScope;

	/**
	 * 已领取的数量
	 */
	private Integer alreadyGet;

	/**
	 * 已使用的数量
	 */
	private Integer alreadyEmploy;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getGmtStart() {
		return gmtStart;
	}

	public void setGmtStart(Date gmtStart) {
		this.gmtStart = gmtStart;
	}

	public Date getGmtEnd() {
		return gmtEnd;
	}

	public void setGmtEnd(Date gmtEnd) {
		this.gmtEnd = gmtEnd;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getLimitAmount() {
		return limitAmount;
	}

	public void setLimitAmount(Double limitAmount) {
		this.limitAmount = limitAmount;
	}

	public Integer getAlreadyGet() {
		return alreadyGet;
	}

	public void setAlreadyGet(Integer alreadyGet) {
		this.alreadyGet = alreadyGet;
	}

	public Integer getAlreadyEmploy() {
		return alreadyEmploy;
	}

	public void setAlreadyEmploy(Integer alreadyEmploy) {
		this.alreadyEmploy = alreadyEmploy;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getEmployScope() {
		return employScope;
	}

	public void setEmployScope(String employScope) {
		this.employScope = employScope;
	}

}